Skip to content

feat(tools): add Java refactor compliance auditor (Closes #19) - #39

Open
yanyishuai wants to merge 1 commit into
GautamKumarOffical:mainfrom
yanyishuai:fix/gk-issue-19-java-refactor-auditor
Open

feat(tools): add Java refactor compliance auditor (Closes #19)#39
yanyishuai wants to merge 1 commit into
GautamKumarOffical:mainfrom
yanyishuai:fix/gk-issue-19-java-refactor-auditor

Conversation

@yanyishuai

Copy link
Copy Markdown

Summary

Adds a small Java refactor compliance auditor for TentOfTrials maintenance scripts.

Changes

  • tools/java_refactor_auditor.py — scan .java files for discouraged patterns (System.out.println, printStackTrace, unchecked suppressions)
  • tools/tests/test_java_refactor_auditor.py — regression coverage for pass/fail paths

Verification

python tools/tests/test_java_refactor_auditor.py
python tools/java_refactor_auditor.py --help
python build.py -m compliance

Closes #19

Solana wallet for bounty payout: Do4v7foHJvRJLpRRoGaVPWX6DDEjX3yTK7J91gpwUQpE

@yanyishuai
yanyishuai force-pushed the fix/gk-issue-19-java-refactor-auditor branch from 85bd6c4 to 7b0fbad Compare July 2, 2026 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bounty #157: Java Refactor Compliance Auditor

1 participant